package com.xulinhao.edu;/**
 * @author xulinhao
 * @create 2021-08-03 21:22
 */

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author xlh
 * @packagename: com.xulinhao.edu
 * @classname: EduApplication
 * @Description:
 * @Date 2021/8/3
 */
@SpringBootApplication
@EnableDiscoveryClient //Nacos注册
@EnableFeignClients //Feign
@ComponentScan(basePackages = {"com.xulinhao"})
public class EduApplication {

    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class, args);
    }

}
